package com.jumi.microservice.constant;

/**
 * 商品库存更新操作
 *
 * @author Administrator
 */
public enum GoodsStockUpdateOperation {

	/**
	 * 商品库存更新操作
	 */
	SUBMIT_ORDER(1, "提交订单"),
	PAY_ORDER(2, "支付订单"),
	CANCEL_ORDER(3, "取消订单");

	private Integer code;
	private String desc;

	GoodsStockUpdateOperation(Integer code, String desc) {
		this.code = code;
		this.desc = desc;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}
}
